package org.hentor.modules.system.vo;

import lombok.Data;
import org.hentor.system.entity.SysDepart;

import java.util.List;

/**
 **/
@Data
public class UpdateDepartInfo {

    private String departId;

    private String departName;

    private String parentId;

    private Boolean hasSub;

    public UpdateDepartInfo(){

    }

    public UpdateDepartInfo(SysDepart depart){
        this.departId = depart.getId();
        this.departName = depart.getDepartName();
        this.parentId = depart.getParentId();
        this.hasSub = false;
    }

    /**
     * 部门负责人ID
     */
    private List<String> chargePersonList;
}
